package com.yuda.tools.log.service.Impl;


import com.yuda.tools.log.entity.StudentInfo;
import com.yuda.tools.log.mapper.LogDownloadMapper;
import com.yuda.tools.log.service.LogDownloadService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LogDownloadServiceImpl implements LogDownloadService {

    @Autowired
    private LogDownloadMapper logDownloadMapper;

    @Override
    public List<StudentInfo> getStudents(int testSession, int subjectIndex) {
        return logDownloadMapper.getStudents(testSession,subjectIndex);
    }
}
